package diff;

import java.util.List;

/**
 * Interface for diff calculation. It is used in Diff.calculate
 * 
 * @author Arseny Kapoulkine
 */
public interface DiffCalculator
{
    /**
     * Calculate difference between given texts.
     *
     * @param source - source text
     * @param dest - destination text
     * @return diff which can be applied to source to get dest
     */
    Diff calculate(List source, List dest);
}
